#@layout()
#define main()
<!-- 内容区域 -->
<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<div class="aw-mod aw-topic-detail-title">
						<div class="mod-body">
							<img src="/upload/comments/#(comments.images)"alt="#(comments.name)">
							<h2 class="pull-left">#(comments.name)</h2>
							<div class="aw-topic-operate text-color-999">
								#if(ret.isFavoriteActive == "active")
								<a href="javascript:;" class="follow btn btn-normal btn-success active" onclick="commentsFavorite('comments', #(comments.tid),false,this);" data-original-title="" title="">
									<span>取消关注</span>
									<em>|</em><b>#(ret.favoriteCount)</b>
								</a>
								#else
								<a href="javascript:;" class="follow btn btn-normal btn-success " onclick="commentsFavorite('comments', #(comments.tid),true,this);" data-original-title="" title="">
									<span>关注</span>
									<em>|</em><b>#(ret.favoriteCount)</b>
								</a>
								#end
							</div>
						</div>
					</div>
					<div class="aw-mod aw-topic-list-mod">
						<div class="mod-head">
							<div class="tabbable">
								<!-- tab 切换 -->
								<ul class="nav nav-tabs aw-nav-tabs hidden-xs">
									<li class="active">
										<a href="javascript:;" data-toggle="tab">全部内容</a>
									</li>
								</ul>
								<!-- end tab 切换 -->
							</div>
						</div>
						<div class="mod-body">
							<!-- tab 切换内容 -->
							<div class="tab-content">
								<div class="tab-pane active" id="all">
									<div class="aw-mod">
										<div class="mod-body">
											<div class="aw-common-list" id="c_all_list">
												#for(comments : commentsArticleList.getList())
												<div class="aw-item article" data-topic-id="1352,">
													<div class="mod-avatar">
														<a class="aw-user-name" data-id="668" href="/user/detail/#(comments.uid)" rel="nofollow">
															<img src="/upload/avatar/#(comments.avatar)"alt="#(comments.nickName)">
															#if(comments.is_auth == 1)<i class="icon icon-v"></i>#end
														</a>
													</div>
													<div class="aw-question-content">
														<h4>
															<a href="/detail/#(comments.aid)">#(comments.title)</a>
														</h4>
														<p>
															<a class="aw-question-tags" href="javascript:;">#(comments.name)</a>•
															<a href="/user/detail/#(comments.uid)" class="aw-user-name">#(comments.nickName)</a>
															<span class="text-color-999">
																发表了文章 • #(comments.replyCount)个评论  • #(comments.views)次浏览  • #(comments.favoriteCount)个收藏 • #date(comments.addtime, "yyyy-MM-dd")
															</span>
														</p>
													</div>
												</div>
												#end
											</div>
										</div>
									</div>
								</div>
							</div>
							<!-- end tab 切换内容 -->
						</div>
						<div class="mod-footer">
				           <!-- 分页 -->
							<div class="page-control">
								#@paginate(commentsArticleList.pageNumber, commentsArticleList.totalPage, "/topic/detail/" + comments.tid + "?p=")
							</div>
						</div>
					</div>
				</div>
				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar">
					<!-- 话题描述 -->
					<div class="aw-mod aw-text-align-justify">
						<div class="mod-head">
							<h3>话题描述</h3>
						</div>
						<div class="mod-body">
							<p>#(comments.remarks)&nbsp;&nbsp;</p>
						</div>
					</div>
					<!-- end 话题描述 -->

					<!-- 最佳回复者 -->
					<div class="aw-mod">
						<div class="mod-head">
							<h3>关注该话题的用户</h3>
						</div>
						<div class="mod-body">
							#for(commentsUser : commentsUserList)
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="/user/detail/#(commentsUser.accountId)">
										<img src="/upload/avatar/#(commentsUser.avatar)" alt="#(commentsUser.nickName)">
									</a>
								</dt>
								<dd class="pull-left">
									<a class="aw-user-name" href="/user/detail/#(commentsUser.accountId)" data-id="#(commentsUser.accountId)">
										#(commentsUser.nickName)
										#if(commentsUser.is_auth == 1)<i class="icon-v" title="个人认证"></i>#end
									</a>
								</dd>
							</dl>
							#end
						</div>
					</div>
					<!-- end 最佳回复者 -->
					<!-- 官方公众号 -->
					<!--<div class="aw-mod aw-text-align-justify question-related-list">-->
						<!--<div class="mod-head">-->
							<!--<h3>官方公众号</h3>-->
						<!--</div>-->
						<!--<div class="mod-body font-size-12">-->
							<!--<img src="/static/img/zanshang.jpg" style="width: 100%;">-->
						<!--</div>-->
					<!--</div>-->
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
<!-- 内容区域end -->
#end

#define js()
<script type="text/javascript" src="/static/layer/layer/layer.js"></script>
#end